//
//  main.m
//  FishHookDemo
//
//  Created by  JasonLee on 2021/9/8.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
__attribute__((constructor(101)))
static void beforeMain(void) {
    NSLog(@"beforeMain");
}
__attribute__((constructor(103)))
static void beforeMain11(void) {
    NSLog(@"beforeMain111");
}
__attribute__((destructor))
static void afterMain(void) {
    NSLog(@"afterMain");
}
//int main(int argc, const char * argv[]) {
//    NSLog(@"main");
//    return 0;
//}

int main(int argc, char * argv[]) {
    NSString * appDelegateClassName;
    @autoreleasepool {
        // Setup code that might create autoreleased objects goes here.
        appDelegateClassName = NSStringFromClass([AppDelegate class]);
    }
    return UIApplicationMain(argc, argv, nil, appDelegateClassName);
}
